export default function locationUrl() {
    let ip = window.location.host,
      url = "";
    if (ip.indexOf("127.0.0.1") >= 0 || ip.indexOf("localhost") >= 0) {
      url = "http://114.113.68.14:9000/image/";
    }else if (ip.indexOf("3dzhixuan")>=0) {
      url = "http://image.3dzhixuan.com/image/";
    } else {
      url = "http://" + ip + "/image/";
    }
    return url;
}